Skip to content

fix: Include type defs in appropriate partial bundles - #8001

Merged
camdecoster merged 5 commits into
mainfrom
cam/7996/include-types-partial-bundles
Sep 1, 2026
Merged

fix: Include type defs in appropriate partial bundles#8001
camdecoster merged 5 commits into
mainfrom
cam/7996/include-types-partial-bundles

Conversation

@camdecoster

@camdecoster camdecoster commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Description

Include the type definitions in the plotly.js-dist, plotly.js-dist-min partial bundles.

Closes #7996.

Changes

  • Add types during packaging
  • Linting/formatting

Testing

  • Be on this branch
  • Run DRYRUN=1 node tasks/sync_packages.js
  • Note that the type files are include in the correct packages

Notes

@camdecoster
camdecoster marked this pull request as ready for review August 31, 2026 22:19
emilykl
emilykl previously approved these changes Sep 1, 2026

@emilykl emilykl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Can you add a clear comment towards the top of sync_packages.js stating exactly which bundles have the types files included?

@camdecoster

Copy link
Copy Markdown
Contributor Author

Looking at it again, this doesn't need to wait for #8000 to merge.

@camdecoster
camdecoster merged commit 56a3e18 into main Sep 1, 2026
82 checks passed
@camdecoster
camdecoster deleted the cam/7996/include-types-partial-bundles branch September 1, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Allow using v4 bundled types for the browser

2 participants